package dao

import (
	"docker_go/internal/models/entity"
)

func (d Dao) GetAllStudents() []*entity.Student {
	var stu entity.Student
	return stu.GetAllStudents(d.engine)
}

func (d Dao) InsertStudent(stu entity.Student) {
	stu.InsertStudent(d.engine, stu)
}
